package com.cc8w.entity;

import javax.validation.Valid;

import lombok.Data;

@Data
public class CompanyAndTypePojo {
	@Valid  //加上校验CompanyPojo类的验证规则生效,反之则不生效
	private CompanyPojo company;
	private CompanyTypePojo company_type;
	public CompanyPojo getCompany() {
		return company;
	}
	public void setCompany(CompanyPojo company) {
		this.company = company;
	}
	public CompanyTypePojo getCompany_type() {
		return company_type;
	}
	public void setCompany_type(CompanyTypePojo company_type) {
		this.company_type = company_type;
	}


}
